home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / namchg16.zip / SYSOP.DOC < prev    next >
Text File  |  1992-02-24  |  17KB  |  341 lines

  1.  
  2.    ╒═══════════════════════════════════════════════════════════════╕
  3.    │                                                               │
  4.    │               ╔════                                           │
  5.    │               ║                                               │
  6.    │               ╚═══╗     ║       ║                             │
  7.    │                   ║ ║ ║ ╠═╗ ═╦═ ║                             │
  8.    │               ════╝ ╚═╣ ╚═╝ ═╩═ ╚═ WARE                       │
  9.    │                       ║  by boB Gage                          │
  10.    │                     ══╝  Available on Sybil BBS               │
  11.    │                          (703) 951-2708  HST DS               │
  12.    │                                                               │
  13.    │          S Y S O P   D O C U M E N T A T I O N                │
  14.    ╘═══════════════════════════════════════════════════════════════╛
  15.  
  16.  
  17.  
  18. ========================[  Setting Up NameChng  ]========================
  19.  
  20. In ALL batch files, NameChng, NameChk, and all other Name*.EXE files should
  21. ALWAYS be run from the same directory.  The smaller this directory, the
  22. faster NameChk will run, so I suggest using a seperate directory for the
  23. NameChange door files.   This directory will be used for flag and save files.
  24. You should NEVER delete any *.SNC or *.ALI file from this directory!!!!  This
  25. directory SHOULD NOT be on a RAM drive or other easily lost storage device.
  26. Using a RAMdrive VIRTUALLY GUARANTEES eventual corruption of your USERS file,
  27. locking a user into their alias until you manually restore them.
  28.  
  29. Setting up NameChng is a 5 to 9 step process:
  30.  
  31. 1) Write the batch file (or files) to run the door
  32. 2) Include the batch file(s) in your DOORS.DAT file
  33. 3) Make the alias text file                 ] - Use NameUtil for these
  34. 4) Modify NameChng.CFG to suit your needs   ] - for simpler editing!
  35. 5) Modify or create $$LOGOFF.BAT files for each node  (NameChk)
  36. 6) Optionally modify the various TXT files
  37. 7) Optionally add NameIndx & NamePurge to your event
  38. 8) Optionally modify and add User Bulletin to your bulletin list
  39. 9) Optionally modify and add HLPName to your PCB Help directory
  40.  
  41.  
  42. 1) - Write the batch file (or files) to run the door
  43.  
  44. There are two options for setting up your door batch files.  You can have a
  45. single door that the user calls with a parameter of either REAL or ALIAS (ie
  46. NameChng Alias to get into the alias and  NameChng Real to switch back) OR
  47. You can set up two doors, one to enter the alias and one to leave it.
  48.  
  49. Personally I'm using both approaches with different alias files; a single
  50. batch, Name, calls using my adult & "other" aliases file, and two batches,
  51. D&D and LeaveD&D, operate using my D&D players/characters alias file.
  52.  
  53. Note that using the two batch file option locks the user away from the REQUEST
  54. and SHOW commands, as well as the sysop commands VERIFY & REJECT.
  55.  
  56. The format for calling NameChng.EXE is:
  57.     NameChng  <file> ALIAS  [#]            -  change to alias name
  58.     NameChng  <file> REAL                  -  change to real name
  59.     NameChng  <file> REQUEST Alias Name    - request alias
  60.     NameChng  <file> VERIFY Alias Name conference mask
  61.                                            - sysop only, verify alias
  62.     NameChng  <file> REJECT Alias Name     - sysop only, reject alias
  63.     NameChng  <file> SHOW                  - show aliases
  64.  
  65. The first two parameters are required!  <file> is the alias text file,
  66. discussed below.   The second parameter is the command NameChange is to
  67. execute, and these commands ARE configurable in the NameChng.CFG file.
  68.  
  69. An OPTIONAL parameter is used on the ALIAS line to implement multiple
  70. aliases.  If a number is given here, it is the alias number to use.  For
  71. example, if a person had three aliases defined on your system (all with the
  72. same real name), he could switch to the third one with NameChng Alias 3.
  73.  
  74. The single batch file, Name, looks like this:
  75. o:
  76. CD \NAMECHNG
  77. NAMECHNG  ADULTS %PCBDOOR%
  78. exit             ^^^^^^^^^^ that's PCB145a's command stack variable
  79.                             which should include either REAL or ALIAS
  80.                             and an optional numeric parameter OR
  81.                             the word REQUEST and the desired alias
  82.                             OR any other valid NameChange command.
  83.  
  84.  
  85. The D&D conference batch files look like this:
  86.  
  87. File: D&D - Enter the alias & RPG conference
  88. o:
  89. cd \namechng
  90. namechng DNDPLAY Alias
  91. exit                   ^^^^^  Notice the dropped 3rd parameter, it
  92.                               uses first alias encountered in file
  93.                               by default.  Including %PCBDOOR%
  94.                               here would enable players with 2
  95.                               or more characters to switch
  96.                               between names by typing D&D #,
  97.                               where # is the character number.
  98.  
  99. File: LEAVED&D - Exit the alias & conference
  100. o:
  101. cd \namechng
  102. namechng DNDPLAY Real
  103. exit
  104.  
  105.  
  106. Notes:  When using the two batch file method described above, you lose the
  107. ability for the SHOW, REQUEST, VERIFY, and REJECT commands unless you install
  108. seperate batch files for these as well (not suggested).  In this case, modify
  109. the NOALIAS.TXT file to tell the user the proper alias registration method
  110. (ie C)omment to sysop).
  111.  
  112.    Using the single batch file method gives you complete access to all
  113. existing and possible future commands through the %PCBDOOR% environment
  114. variable.
  115.  
  116. 2) - Include the batch files in your DOORS.DAT file
  117.  
  118. After setting up your batch files, add NameChng to your PCBoard door
  119. directories.  NameChng does NOT need any extra files, but should be set up as
  120. a SHELL door, your DOORS.DAT line will look similar to this:
  121.  
  122. Name,,42,0,0,P:\DOORBATS\,0,Y
  123.          ^^^               ^^^  Shell door!!  Should be YES
  124.          NO USERS.SYS/DOOR.SYS!!
  125.  
  126. Creating a USERS.SYS for NameChange WILL CAUSE PROBLEMS WITH PCBOARD!!
  127.  
  128. 3) - Make the alias text file
  129.  
  130. The alias files used by NameChng determine who gets what aliases and which
  131. conferences they are allowed in.  The easiest way to create an alias text file
  132. is by using the NameUtil editor. From your NameChange directory, type NameUtil
  133. <file> where <file> is the name of the alias file you want to create.  Select
  134. edit alias file and you're in business.  Press INSert to add each alias to the
  135. list.  Make sure you use F3 to get to the group list and make your default
  136. conference groups!
  137.  
  138. You can also use a text editor to create your alias file, Here is a sample
  139. with comments:           +-- column 26 begins alias name
  140.                          |                        +--column 51 begins confs
  141.          1         2     V   3        4          5V        6
  142. 123456789012345678901234567890123456789012345678901234567890
  143. <Top of File>
  144. !D  27 28           ; Defines group D, conferences 27 & 28 only
  145. !A 56-65 55         ; Defines group A, conference 55-65, 56 is "home"
  146. GEORGE JOHNSON           FISTANTALUS              D      ; Group D alias
  147. TERRY HEIGHT             PRATAR                   D
  148. FISTANTALUS              WILLIAM SMITH                   ; unrestricted alias
  149. CYNTHIA MURRELL          GWYN AP RHYS             D
  150. MARC ZALDIVAR            BOLARON                  D
  151. CHUCK HEIM               BART                     A      ; Group A alias
  152. ROBERT JARRETT           NITEBREED                A
  153. GEORGE STEVENS           RICH MOORE
  154. CHARLIE MOODY            MR. DUDE                 A
  155. MARY STEWART             DAMNIT JANET!            A 23 24  ; Group A + 23 & 24
  156. <End of File>
  157.  
  158. All comments above begin with semi-colons and SHOULD NOT be included in the
  159. file used online!
  160.  
  161. The alias file has two types of lines, any line begining with an exclamation
  162. point followed by a letter defines a group of conferences so that it can be
  163. referred to later easily.  In the above example, I defined two groups, D for
  164. D&D characters restricted to the D&D conferences, and A for adult aliases
  165. restricted to ThrobNet.
  166.  
  167. Other lines are real names in columns 1 thru 25, alias name in 26 thru 50, and
  168. conferences allowed starting in column 51.  The first conference allowed (the
  169. "home" conference) will be joined when the alias is assumed.  The group
  170. letters eliminate the need to type the conference numbers over and over, all
  171. aliases marked with a D above can ONLY be used in conferences 27 & 28, and the
  172. user will by joined in 27 when entering the alias.  The ones marked by A are
  173. limited to 55-65, and are joined in conference 56 (THAT's why 55 is listed
  174. last in the series, to make 56 the "home" conference).
  175.  
  176. An alias WITHOUT a conference lockout will be allowed in all conferences (as
  177. in George Stevens' case above).  Additional conferences can be allowed to
  178. individual users on a case-by-case basis (see Mary Stewart's access to
  179. conferences 23 & 24 as Damnit Janet!).
  180.  
  181. Multiple aliases are simple to set up, but are only supported in the
  182. registered version of the program.  Simply have several lines in your alias
  183. file with the same real name.  The user can differentiate between aliases by a
  184. numeric parameter.  The first alias encountered in the file is #1, the second
  185. #2, etc.  If using the one batch file method, no special changes are needed to
  186. implement multiple aliases, but if using the two batch file method, the
  187. %PCBDOOR% variable should be added to the ALIAS call to NameChng.
  188.  
  189. Trying to get around registering by listing an alias as a real name (ie giving
  190. the alias an alias) WILL lock up the system when the user runs NameChange.
  191. NameChange will find his name as an alias, and change to his "real" name, and
  192. then start searching the alias file again.  This will go on forever and ever.
  193. This wasn't an intentional lock on the multiple aliases, it was a side effect
  194. of being able to switch from alias to alias without going back to your real
  195. name in between.
  196.  
  197.  
  198. 4) - Modify the NameChng.CFG file to suit your needs
  199.  
  200.    The NameChng.CFG file contains configuration & options information about
  201. your setup that all the NameChange programs use.  The file is a simple text
  202. file.  The easiest way to edit it is with NameUtil, but if you want to use
  203. your text editor, here's the format:
  204.  
  205. Line 1:  Name of BBS
  206. Line 2:  Registration Number (or blank)
  207. Line 3:  Path to your PCB\MAIN directory (USERS,CALLER,et al)
  208. Line 4:  Should message be sent to Sysop when user REQUESTs alias?  Y/N
  209. Line 5:  Should message be sent to the User when sysop changes alias? Y/N
  210. Line 6:  Path & File name of Msgs file to log messages to
  211. Line 7:  Should the "Thanks for reistering" line be suppressed from messages?
  212. Line 8:  User ALIAS command       Lines 8- 13 are optional
  213. Line 9:  User REAL command          if left blank, will default to ALIAS,
  214. Line 10: User REQUEST command       REAL, REQUEST, VERIFY, REJECT, and SHOW.
  215. Line 11: User VERIFY command
  216. Line 12: User REJECT command
  217. Line 13: User SHOW command
  218.  
  219. The name of your BBS on line 1 must EXACTLY match the name you gave me
  220. for verification or your registration code WILL NOT work.  It IS case
  221. sensitive.  Changing lines 8 thru 13 gives you the ability to completely
  222. customize NameChange to your own needs.  Each line contains a single
  223. word command that the user types to activate that particular function.
  224. ie, by putting FAKE on line 8, you make the command to change to an
  225. alias NAME FAKE instead of NAME ALIAS.
  226.  
  227.  
  228. 5) - Modify or create $$LOGOFF.BAT files for each node
  229.  
  230. NameChk should be called in the $$LOGOFF.BAT file, and will restore the user's
  231. name & conference registrations back to normal. If multiple alias files are
  232. used, you should call NameChk once for each file. This is a small and fast
  233. file, so calling it a few times will still be pretty quick. (I get 2 sec runs
  234. on a 386 and 6 sec on an XT, and that includes load times)
  235.  
  236. The format for calling NameChk.EXE is:
  237.      NameChk  <file> <PCB node number>
  238.  
  239. Make sure that NameChng and NameChk are ALWAYS run from the same directory, as
  240. it uses save files to store conference registrations and alias flags.  For
  241. this reason, NameChng should NOT be run off of a RAMdrive unless you're
  242. willing to risk USERS file damage in the case of a reboot.
  243.  
  244. If you have a user stuck in an alias, look for a *.SNC or *.ALI file.  The
  245. first three digits of the filename are the node number.  Calling NameChk with
  246. the proper alias file & node number should restore the user properly.
  247.  
  248. 6) - Optionally modify the various TXT files
  249.  
  250. ALL of NameChng's user displays are in text files that must reside in the
  251. NameChng directory.  These fully support all current & future PCB's @
  252. commands (especially considering that it's PCBoard that displays them)
  253. and can be modified at your discretion.  The files are:
  254.  
  255.     BADPARAM.TXT - Shown if the parameters given are not correct
  256.     NOALIAS.TXT  - Shown if the user is not listed as a real name or if
  257.                    an alias number beyond those defined is used (ie asking
  258.                    for the third alias when the user only has two)
  259.     ALIAS.TXT    - Shown when the user has been put into the alias
  260.     REAL.TXT     - Shown when the user has been changed to real name
  261.     REQUEST.TXT  - Shown when the user requests an alias
  262.     NOTREG.TXT   - Shown if user is not registered in alias's home conf
  263.  
  264. NameChng will add a single door identification line at the end of the TXT file
  265. when it is displayed.   A blank line will be added before it.
  266.  
  267. Other text files used by NameChange are the MSG files which are the messages
  268. sent to the user when a VERIFY or REJECT is used.
  269.  
  270.    APPROVE.MSG  - Message sent on alias approval
  271.    REJECT.MSG   - Message sent when alias rejected
  272.  
  273. Each message is preceeded by "The sysop has APPROVED [REJECTED] your alias of
  274. xxxxxxxx" and a blank line.
  275.  
  276.  
  277. 7) - Optionally add NameIndx to your event
  278.  
  279. NameIndx is a "trade-off" utility.  A side effect of aliasing on PCBoard is
  280. that messages TO an alias don't cause the mail flags to be set, and also cause
  281. the user to get a "So and so not found, (C)ontinue, (R)etype, ..." error
  282. unless the conference is declared as an ECHO conference.  And even then, the
  283. user has to answer the "Echo message?" prompt, even though the conference may
  284. be local.
  285.  
  286. NameIndx solves that problem by re-building the PCBNDX files with additional
  287. entries from your alias files.  See NameIndx.DOC for documentation on setting
  288. up NameIndx.
  289.  
  290. The reason NameIndx is called a trade-off is that if you do use it, it solves
  291. the problems with mail flags and with message entry.  But there is a side
  292. effect that may confuse your users.  A user will be able to log on using their
  293. alias name, which may lead them to believe they are logged on AS their alias,
  294. but they will really be in their real name.  NameIndx makes multiple
  295. references to the same user record, and PCBoard gets the user name from the
  296. record, NOT from the answer to the logon prompt.
  297.  
  298. So, you decide which problem you want, the mail flags & msg entry problem OR
  299. the logon side-effect.  Personally I feel that NameIndx is the way to go, but
  300. know that others may feel differently, so I left it as a completely seperate
  301. program.
  302.  
  303. 8)  -  Optionally Modify and add User Bulletin to your bulletin list
  304.  
  305. The User bulletin (USER.BLT) explains to your users how to operate
  306. NameChange on your system.  Since every system can have a different
  307. setup, some things may need to be modified on your system.
  308.  
  309. Some typical global changes that may be made:  (EXACT case matches, whole
  310. words only)
  311.    NAME    - name of the door file to call NameChng
  312.    ALIAS   - your defined ALIAS command
  313.    REAL    - your defined REAL command
  314.    SHOW    - your defined SHOW command
  315.    REQUEST - your defined REQUEST command
  316.  
  317. It is suggested that you add the bulletin in the Main Board AND use the Help
  318. file below.  Otherwise, the user may find themselves in their alias and not
  319. able to get to the docs to figure out how to get back again.
  320.  
  321. 9)  -  Optionally modify and add HLPNAME to PCB\HELP directory
  322.  
  323. Adding this file to your PCB\HELP directory will give users the ability
  324. to type H NAME and have the file displayed to them.  This will give them
  325. help anywhere on the board, no matter what name they are in.  You need
  326. to rename the file to NAME (if you want H NAME to retrieve it) after you
  327. move it.  If you change the name of the door batch file, you should
  328. change the help file name to match it.
  329.  
  330. You should make the same Global, EXACT case match changes in this file
  331. as you made in the User Bulletin above if you have changed either the
  332. name of the door file or any of the command keywords.
  333.  
  334. ---
  335.  
  336. Think that's about it, if you have any problems, I can be contacted at
  337. Sybil BBS (703) 951-2708 or through the ThrobAdmin conference on
  338. ThrobNet or the Sysop, Shareware, or UNINet conferences on U'NI-Net/US.
  339.  
  340. Support Shareware!!!!  Register NameChange Today!! See REGISTER.DOC for more!
  341.